package com.hzy.service;

import com.hzy.pojo.Books;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BookService {
    //增
    int addBook(Books books);
    //删
    int deleteBookById(int id);
    //改
    int updateBook(Books books);
    //查
    Books queryBookById(int id);
    List<Books> queryAllBook();
}
